#pragma once
#include "Start.h"
class DFDStart : public Start
{
public:
	DFDStart(int x, int y, int width, int height, char stroke[], int strokeWidth, char fill[]):
		Start(x, y, width, height, stroke, strokeWidth, fill)
	{
	}

public:
	DFDStart(void);
	~DFDStart(void);

	void Fill(MyGraphics* g)
	{
		g->FillEllipse(_fill, _x, _y, _width, _height);
	}

	void Draw(MyGraphics* g)
	{
		Fill(g);

		// Ve ellipse
		g->DrawEllipse(_stroke, _strokeWidth, _x, _y, _width, _height);

		// Ve chu "1" o giua
		g->DrawText2(_stroke, "1", 10, _x + _width / 2, _y + _height / 4);
	}
};

